#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include "coin.h"

class PlayScene : public QMainWindow
{
	Q_OBJECT
public:
//    explicit PlayScene(QWidget *parent = nullptr);
	PlayScene(int level);
	void paintEvent(QPaintEvent *);
	// 用于保存一个金币四周的金币
	Coin * around_coin[4][4];
	// 保存金币数量
	static int flag_num;

	//金币银币数组
	int gameArray[4][4];
	//关卡
	int m_level;

signals:
	// 用于返回按钮信号
	void back_scene();

public slots:
};

#endif // PLAYSCENE_H
